Mathematical Modelling of Control System